#include "board.h"
#include <string.h>

void main(void)
{
	boardInit();
		
	fmqRun(0);
	
	while(1){
		
		keyScan();
		
		cmdUpdate();
		
		autoModePro();
		
		motorRun();
			
		ledDisplay();
		
		sysTimeUpdate();
		
		irRxdData();
		
		irDataPro();
		
		tempAndHumiPro();
		
		pm25Pro();
		
		tvocPro();
		
		sm1616Display();
		
		uartHfPro();
		
		checkOnOff();
		
	}
	
}
